<extend name="Public/base" />

<!-- 子导航 -->
<block name="sidebar">
    <include file="sidemenu" />
</block>

<block name="body">
	<div class="main-title cf">
		<h2>
			用户批量修改 [ <a href="{$Think.cookie.__forward__}">返回列表</a> ]
		</h2>
	</div>
	<div class="sort">
		<form action="{:U('Multiedit_add')}" method="post">
<!-- 			<div class="sort_top">
				查找：<input type="text"><button class="btn search" type="button">查找</button>
			</div> -->
			<div class="sort_center">
		
         <select id="province" size=1 name="a5" onchange="getCity()"> 
<option value="0" >客户类型</option> 
<option value="1" >跟进状态</option> 

</select>
<select id="city" name="a2" style="width:200px"> 
</select> 
 <input name="a3" type="text" value="{$ids}" />
 
 
      
			</div>
			<div class="sort_bottom">

				<button class="sort_confirm btn submit-btn">确 定</button>
				<button class="sort_cancel btn btn-return" type="button" url="{$Think.cookie.__forward__}">返 回</button>
			</div>
		</form>
	</div>
</block>

<block name="script">
<script> 
var arr = new  Array();
arr[0 ]="意向客户,定金客户,全款客户,需复尺客户,需下单客户"
arr[1 ]="感兴趣,探寻需求,需求明确,成交,近期合作"


    var city = document.getElementById("city");
    var cityArr = arr[0].split(",");
	
    for(var i=0;i<cityArr.length;i++)
    {
             city[i]=new Option(cityArr[i],i);
    }

function getCity()
{    
    var pro = document.getElementById("province");
    var city = document.getElementById("city");
    var index = pro.selectedIndex;
    var cityArr = arr[index].split(",");   
   
    city.length = 0;
    //将城市数组中的值填充到城市下拉框中
    for(var i=0;i<cityArr.length;i++)
    {
             city[i]=new Option(cityArr[i],i);
         }
}
</script>

</block>